package com.lbh.structures.components.render.vertex;

import com.lbh.structures.components.render.VertexBuffer;

/***
 * project:JRuntime
 * package:com.lbh.structures.components.render.vertex
 *
 * @author user:lenovo QQ:1601078366
 * @date 2021/10/20 0:01
 * @version V1.0
 */
public class ColorR8G8B8A8 implements Color {

    public byte r;
    public byte g;
    public byte b;
    public byte a;

    public ColorR8G8B8A8(byte r, byte g, byte b, byte a){
        this.r = r; this.g = g; this.b = b; this.a = a;
    }

    @Override
    public int getType() {
        return VertexBuffer.COLOR_R8G8B8A8;
    }
}
